package com.microframework.boot.system.service;


import java.util.List;

import com.jfinal.plugin.activerecord.Page;
import com.microframework.base.web.page.PageQuery;
import com.microframework.base.web.resp.R;
import com.microframework.boot.system.model.domain.Dict;
import com.microframework.boot.system.model.domain.DictItem;

public interface IDictService {

	Page<Dict> pages(PageQuery<Dict> pageQuery);

	List<DictItem> getItemPages(PageQuery<DictItem> pageQuery);

	R<DictItem> save(DictItem item);

	R<String> deleteItem(String id);

	List<Dict> loadAll(PageQuery<Dict> pageQuery);

	List<Dict> loadLazy(PageQuery<Dict> pageQuery);


}
